package com.org.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 失物招领表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("collect_items")
public class CollectItems extends BaseEntity{

    //Id
    @TableId(type = IdType.AUTO)
    private Long id;
    //物品名称
    private String itemName;
    //物品图片
    private String image;
    //物品描述
    @TableField("`describe`")
    private String describe;
    //联系人电话
    private String phone;
    //物品位置
    private String temporaryStorage;
    //用户Id
    private Long userId;
    //物品状态(0.待找回，1.已找回，2.已删除)
    private Integer status;
    //区域ID
    private Long regionId;

}
